Fix MISRA rule 8.8 in common code
authorRoberto Vargas <[email protected]>
Mon, 12 Feb 2018 12:36:17 +0000 (12:36 +0000)
committerRoberto Vargas <[email protected]>
Wed, 28 Feb 2018 17:19:55 +0000 (17:19 +0000)
Rule 8.8: The static storage class specifier shall be used
          in all declarations of objects and functions that
          have internal linkage.

Change-Id: I1e94371caaadebb2cec38d0ae0fa5c59e43369e0
Signed-off-by: Roberto Vargas <[email protected]>
bl1/bl1_main.c

index b2e7c28c2c6b13ca10d2a5a45022e2c612d6b274..c3332853b4f5742aabe084d6e16a92334da36a23 100644 (file)
@@ -163,7 +163,7 @@ void bl1_main(void)
  * TODO: Add support for alternative image load mechanism e.g using virtio/elf
  * loader etc.
  ******************************************************************************/
-void bl1_load_bl2(void)
+static void bl1_load_bl2(void)
 {
        image_desc_t *image_desc;
        image_info_t *image_info;